package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("vaccine_sort_hospital")
@ApiModel(value = "VaccineSortHospital对象", description = "")
public class VaccineSortHospital implements Serializable {

    private static final long serialVersionUID = 1L;

    public VaccineSortHospital() {
    }

    @ApiModelProperty("物理id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    public VaccineSortHospital(Integer id, Integer vaccineSortId, Integer hospitalId) {
        this.id = id;
        this.vaccineSortId = vaccineSortId;
        this.hospitalId = hospitalId;
    }

    public VaccineSortHospital(Integer vaccineSortId, Integer hospitalId) {
        this.vaccineSortId = vaccineSortId;
        this.hospitalId = hospitalId;
    }

    @ApiModelProperty("种类id")
    @TableField("vaccine_sort_id")
    private Integer vaccineSortId;

    @ApiModelProperty("医院id")
    @TableField("hospital_id")
    private Integer hospitalId;


}
